<div class='wrap-activity' ng-controller='ActivityIndex'>
	<div class='banner'>
		<img ng-src='{{nActivity.banner}}'>
	</div>
	<div class='info'>
		<div class='title'>当月主题|{{nActivity.title}}</div>
		<div class='tip'><span class='font-red'>{{joinCount}}</span>人正在陪孩子玩</div>
		<div class='ops am-g'>
			<div class='am-u-sm-4'>
				<button class='am-btn am-btn-xs am-btn-success am-btn-block'
					ng-click='get_item(nActivity.id)'>
					<i class='fa fa-clock-o'></i>立即体验
				</button>
			</div>
			<div class='am-u-sm-4'>
				<button class='am-btn am-btn-xs am-btn-success am-btn-block'
					ng-click='purchase_vip()'>
					<i class='fa fa-plus'></i>为孩子延期
				</button>
			</div>
			<div class='am-u-sm-4'>
				<button class='am-btn am-btn-xs am-btn-success am-btn-block'
					ng-click='share()'>
					<i class='fa fa-share'></i>邀请好友
				</button>
			</div>
		</div>
	</div>
	<div class='cont am-tabs normal-tabs' data-am-tabs>
        <ul class='am-tabs-nav am-nav am-nav-tabs am-avg-sm-2'>
            <li class='am-active'><a>主题列表</a></li>
            <li><a>详情介绍</a></li>
        </ul>
        <div class='am-tabs-bd'>
            <div class='am-tab-panel am-active'>
                <div class='am-list'>
                    <li class='am-g am-g-collapse' ng-repeat='item in activityList'
                        ng-click='get_item(item.id)'>
                        <div class='am-u-sm-3 banner'>
                            <div class='box-img'><img ng-src='{{item.banner}}'></div>
                        </div>
                        <div class='am-u-sm-9 info'>
                            <div class='title'>{{item.title}}</div>
                            <div class='date'>{{item.create_date}}</div>
                        </div>
                    </li>
                </div>
            </div>
            <div class='am-tab-panel' ng-bind-html='nActivity.introduct'>
            </div>
        </div>
    </div>

    <div class='box-leave-msg'>
    	<div class='title'>
    		<div>精选留言</div>
    		<hr>
    	</div>
    	<div class='send'>
    		<span ng-click='write_leavemsg()'>写留言<i class='fa fa-pencil'></i></span>
    	</div>
    	<div class='list am-list'>
    		<li ng-repeat='item in leaveMsgList'>
    			<div class='comment am-g am-g-collapse'>
    				<div class='am-u-sm-2 headimg'>
    					<img ng-src='{{item.headimgurl}}'>
    				</div>
    				<div class='am-u-sm-10'>
    					<div class='info'>
    						<span class='nickname'>{{item.nickname}}</span>
    						<span class='good'><i class='fa fa-thumbs-o-up'></i>100</span>
    					</div>
    					<div class='content'>{{item.content}}</div>
    					<div class='time'>{{item.create_date}}</div>

    					<div class='reply' ng-if='item.res_content'>
    						<hr>
    						<div class='reply-info'>
    							<span class='nickname'>作者回复</span>
    							<span class='good'><i class='fa fa-thumbs-o-up'></i>100</span>
    						</div>
    						<div class='reply-content'>{{item.res_content}}</div>
    						<div class='reply-time'>{{item.res_create_date}}</div>
    					</div>
    				</div>
    			</div>
    		</li>
    	</div>
    </div>
</div>